﻿function changeMap(val) {
var parent = document.getElementById("MapShowing"); 
parent.innerHTML='';
if (document.all && !window.opera) {
    var emb = document.createElement('<embed src="https://maps.google.no/'+val+'" width="425" height="350">');
    parent.appendChild(emb);
    }
else {
    var e = document.createElement('embed');
    e.setAttribute('src', 'https://maps.google.no/' + val);
    e.setAttribute('width', '425');
    e.setAttribute('height', '350');
    parent.appendChild(e);
    }
}